(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[40],{

/***/ "./src/views/flowable/modules/design/modules/right/config/edge.js":
/*!************************************************************************!*\
  !*** ./src/views/flowable/modules/design/modules/right/config/edge.js ***!
  \************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* @Descripttion:
   @Version: 1.0
   @Author: wfz
   @Date: 2023-06-23 19:57:24
   @LastEditors: wfz
   @LastEditTime: 2023-07-29 09:41:29 */
/* harmony default export */ __webpack_exports__["default"] = ({
  defaultParams: {
    type: 'edge',
    "startNodeId": '',
    "endNodeId": '',
    "nodeName": "",
    "edgeCondition": "1"
  },
  getParamsData: function getParamsData(item) {
    return Object.assign(this.defaultParams, item || {});
  },
  /**
   * @description: 获取配置面板信息
   * @author: wufz
   * @param {*} item 节点的configParams
   * @return {*}
   */
  getConfigData: function getConfigData(item) {
    return {
      edgeCondition: {
        key: 'edgeCondition',
        type: 'dcbSelect',
        attrs: {
          value: item.edgeCondition,
          title: '分支条件',
          titlePrefix: {
            content: '分支判断的条件，若不配置，则判断为通过，默认的分支通常配置为空'
          }
        },
        props: {
          placeholder: '请选中分支条件',
          clearable: true,
          options: [{
            label: '节点执行成功',
            value: '1'
          }, {
            label: '节点执行失败',
            value: '2'
          }]
        },
        events: {
          change: 'setEdgeLabel'
        }
      }
    };
  }
});

/***/ })

}]);